﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="CommGroups.aspx.cs" Inherits="Common_CommGroups" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
 
        <asp:GridView ID="gvGroups" runat="server" cellpadding="5" forecolor="#333333" 
            width="100%" HeaderStyleWrap="False" BackColor="White" BorderColor="White" 
            BorderStyle="Groove" BorderWidth="2px" AutoGenerateColumns="False"
            ShowFooter="True">
            <PagerSettings Mode="NumericFirstLast" />            
            <FooterStyle ForeColor="Red" Font-Bold="True"></FooterStyle>
            <RowStyle BackColor="#EFF3FB"></RowStyle>
            <HeaderStyle BackColor="DeepSkyBlue" ForeColor="White" Font-Bold="True"></HeaderStyle>
            <AlternatingRowStyle BackColor="White" BorderColor="White"></AlternatingRowStyle>
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <a href='AgentManage.aspx?groupid=<%#Eval("groupid") %>&groupname=<%#Eval("groupname") %>'>设置代理</a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="groupid" HeaderText="角色编号" />
                <asp:BoundField DataField="groupname" HeaderText="组名" />
                <asp:BoundField DataField="description" HeaderText="说明" />
                <asp:BoundField DataField="msad" HeaderText="AD组" />
                <asp:BoundField DataField="isrole" HeaderText="角色" />
            </Columns>
        </asp:GridView>
 
</asp:Content>

